﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace miSched.Data.Model
{
    /// <summary>
    /// Base class for all audit trail objects
    /// </summary>
    public abstract class AuditBase
    {
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Id { get; set; }
        public DateTime CreatedDate { get; set; }
        public int CreatedBy { get; set; }
        public DateTime UpdatedDate { get; set; }
        public int UpdatedBy { get; set; }
        public string UpdatedDesc { get; set; }
        public bool IsActive { get; set; }
        public bool IsDeleted { get; set; }
    }
}
